package com.draven.mall.entity;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * 管理员实体类
 */
@Data
@Getter
@Setter
public class Admin implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;
    private String username;
    private String password;
    private String name;
    private String avatar;
    private String email;
    private String phone;
    private Integer status; // 状态：0-禁用，1-启用
    private Date createTime;
    private Date updateTime;
    private String lastLoginIp;
    private Date lastLoginTime;
}